/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.geaSV.conexiones;

import java.sql.Connection;
import java.sql.DriverManager;

/**
 *
 * @author vash
 */
public class conectarBD {
    public static Connection conectar(){
    Connection conxx=null;
    try{
        String driver="com.mysql.jdbc.Driver";
        String connectString="jdbc:mysql://54.225.224.63:3306/GEA_SV";
        String user="root";
        String password="debian";
        Class.forName(driver);
        conxx=DriverManager.getConnection(connectString,user,password);
    }catch(Exception e){
        System.out.println(e);
    }
    finally{return conxx;}
    }
}
